﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Teacher:Person
    {
        public string Title;
        public string Wageno;
        public void speak()
        {
            Console.WriteLine("我的编号是：{0},我叫{1}，性别{2}，身份证号是{3}，联系方式{4}，职称是{5}，工资号{6}", id, name, sex, Carid, Tel, Title, Wageno);
        }
    }
}
